package com.photography.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
@TableName("category")
@JsonInclude(JsonInclude.Include.NON_NULL) // 只包含非空字段
public class Category {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String categoryName;

    private String categoryTitle;

    private String displayArea;
}
